package com.atgm.mall.gmmailproduct.service;

import com.atgm.mall.gmmailproduct.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atgm.common.utils.PageUtils;
import com.atgm.mall.gmmailproduct.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author pdx
 * @email 945097967@qq.com
 * @date 2021-08-20 09:07:20
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

